home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xm / XmNotebook.z / XmNotebook
Encoding:
Text File  |  2001-04-17  |  59.7 KB  |  925 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmNNNNooootttteeeebbbbooooooookkkk - The Notebook widget class
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Notebook.h>
  13.  
  14.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  15.           This page documents Motif 2.1.
  16.  
  17.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.           Notebook is a manager widget that organizes its children
  19.           into pages, tabs, status areas, and page scrollers to
  20.           simulate a real notebook. It stacks its page children so
  21.           that all page children occupy the same area like real book
  22.           pages.  Notebook displays visuals that look like the binding
  23.           of a book and the edges of other pages around the page that
  24.           is shown.  Tab children simulate notebook tabs. Major tabs
  25.           divide Notebook into several sections, and minor tabs
  26.           subdivide these sections. Status area children provide
  27.           additional information about pages such as page numbers. The
  28.           page scroller child allows the user to move from page to
  29.           page. Notebook also provides tab scrollers for scrolling
  30.           major and minor tabs if it cannot display all tabs within
  31.           its edges.
  32.  
  33.           The application creates pages, tabs, status areas, and page
  34.           scroller as children of the Notebook widget. Notebook
  35.           creates tab scrollers when the Notebook is created.
  36.  
  37.           The XXXXmmmmNNNNnnnnooootttteeeebbbbooooooookkkkCCCChhhhiiiillllddddTTTTyyyyppppeeee constraint resource of Notebook
  38.           determines whether a child widget is a page, tab, status
  39.           area, or page scroller. Any Motif widget can be a page of
  40.           the Notebook.  When the application creates a child of the
  41.           Notebook widget without setting the child type constraint,
  42.           the child becomes a page by default, unless it has the
  43.           _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e, _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l, or _X_m_Q_T_n_a_v_i_g_a_t_o_r trait.
  44.           Children with the _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e, _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l, or
  45.           _X_m_Q_T_n_a_v_i_g_a_t_o_r trait become major tabs, status areas, and
  46.           page scrollers, respectively.
  47.  
  48.           Notebook uses the _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l, _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e,
  49.           _X_m_Q_T_j_o_i_n_S_i_d_e, and _X_m_Q_T_n_a_v_i_g_a_t_o_r traits, and installs the
  50.           _X_m_Q_T_s_c_r_o_l_l_F_r_a_m_e trait.
  51.  
  52.           The application attaches a tab to a page by creating a tab
  53.           child of the Notebook and setting the XXXXmmmmNNNNppppaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  54.           constraint to the page number of the targeted page. By the
  55.           same method, a status area widget can be attached to a page.
  56.           The page scroller child, on the other hand, is associated
  57.           with the Notebook, not with a specific page. Therefore,
  58.           there is only one valid page scroller for each Notebook.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 4/6/01)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  71.  
  72.  
  73.  
  74.         PPPPaaaaggggeeeessss
  75.           Only one child of type XXXXmmmmPPPPAAAAGGGGEEEE is displayed at a time by
  76.           Notebook.  Other page children are hidden off-screen. When
  77.           Notebook displays a particular page, it positions the
  78.           previously-displayed page off-screen and puts the new page
  79.           in its place. The page is resized to fit into the dimensions
  80.           that Notebook has allocated to display pages.
  81.  
  82.         PPPPaaaaggggeeee NNNNuuuummmmbbbbeeeerrrrssss
  83.           Notebook uses the XXXXmmmmNNNNccccuuuurrrrrrrreeeennnnttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr, XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr,
  84.           and XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr resources to determine the current
  85.           page and available page number range. Only those pages whose
  86.           page numbers are within the range can be displayed. Other
  87.           pages cannot be displayed until the range between
  88.           XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr and XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr is changed to
  89.           include them or their page numbers are changed to a number
  90.           within the range.
  91.  
  92.           If XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr and XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr are not set
  93.           explicitly by the application, they are set to 1 by default;
  94.           Notebook sets XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrrto the largest page number
  95.           assigned by the application thereafter by default. However,
  96.           once XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr is set by the application, Notebook
  97.           no longer changes it even when a page with a higher page
  98.           number is managed.
  99.  
  100.           The XXXXmmmmNNNNppppaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr constraint resource is used for specifying
  101.           the page number of a page widget. It can be set to any
  102.           integer. For tab and status area children, the resource is
  103.           used for linking the child widget to a page.  For the page
  104.           scroller child, the resource has no meaning and is ignored
  105.           by the Notebook.
  106.  
  107.           When a page without a page number is managed, Notebook
  108.           assigns it the smallest unallocated page number that is not
  109.           less than the first page number and greater than the last
  110.           allocated page number. When a tab or a status area without a
  111.           page number is managed, the newly managed widget is assigned
  112.           the page number of the most recently managed page, unless
  113.           the page already has the same type of child. If the page
  114.           does have the same type of child, Notebook assigns the newly
  115.           managed widget a page number one greater than the most
  116.           recently managed page; this new page number is now occupied.
  117.           Notebook may generate a default page number greater than
  118.           XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr, making those pages inaccessible to the
  119.           user.
  120.  
  121.         DDDDuuuupppplllliiiiccccaaaatttteeee aaaannnndddd EEEEmmmmppppttttyyyy PPPPaaaaggggeeeessss
  122.           Since an application can create or change page numbers, it
  123.           is possible to have duplicate page numbers and empty pages.
  124.           When two pages with the same page number are managed, only
  125.           the more recently managed page can be displayed. Inserting a
  126.  
  127.  
  128.  
  129.      Page 2                                           (printed 4/6/01)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  137.  
  138.  
  139.  
  140.           page with an existing page number does not cause a warning.
  141.           The old page widget cannot be displayed until the new page
  142.           widget is removed from the Notebook or until the page number
  143.           of the old page widget is changed to some other number.
  144.  
  145.           An empty page is a page slot where no page is inserted.
  146.           Empty pages occur when a tab or status area is associated
  147.           with a page number that has no matching page widget.  Empty
  148.           pages display the blank Notebook background unless the
  149.           application provides visual information to this empty area
  150.           while processing XXXXmmmmNNNNppppaaaaggggeeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk.
  151.  
  152.         NNNNooootttteeeebbbbooooooookkkk VVVViiiissssuuuuaaaallllssss
  153.           Notebook draws lines around two sides of the top page to
  154.           simulate the edges of other pages that are behind the top
  155.           page.  The XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeePPPPllllaaaacccceeeemmmmeeeennnntttt and XXXXmmmmNNNNoooorrrriiiieeeennnnttttaaaattttiiiioooonnnn resources
  156.           determine which two sides have the lines drawn around them.
  157.           By default, they are drawn on the bottom and right sides of
  158.           the top page. The application can set resources to control
  159.           how many lines are drawn and how wide the area that they are
  160.           drawn in is. Applications can also choose from three styles
  161.           of binding visual that simulates the binding of a Notebook.
  162.           Solid or spiral bindings can be drawn by Notebook, or the
  163.           application can supply a pixmap that is tiled into the
  164.           binding.
  165.  
  166.         TTTTaaaabbbbssss
  167.           A major or minor tab is a Motif widget with the
  168.           _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e trait.  If a widget without the trait is
  169.           created for a tab, Notebook does not provide the page
  170.           activation callback.  As a result, even though the tab is
  171.           displayed, it cannot automatically move the associated page
  172.           to the top.
  173.  
  174.           Major tabs divide the Notebook pages into sections. Minor
  175.           tabs subdivide these sections.  Only minor tabs associated
  176.           with the current section are displayed, where a section
  177.           consists of the group of pages between the current major tab
  178.           and the next major tab, including the current major tab but
  179.           not including the page containing the next major tab.  The
  180.           exception to this is when there is no preceding major tab,
  181.           in which case the section starts from the XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  182.           value.  A user in one major tab section does not see the
  183.           minor tabs in other sections.  However, all tabs are used in
  184.           computing the size of the Notebook.
  185.  
  186.           Unlike regular notebook tabs, tabs in the Notebook are not
  187.           attached to a physical page (a widget). They are, instead,
  188.           attached to a logical page (a page number). Therefore, it is
  189.           possible to have a tab with an empty page. When a page with
  190.           a tab is removed from the Notebook, the tab is not removed
  191.           because it is still bound to a logical page.  Destroying or
  192.  
  193.  
  194.  
  195.      Page 3                                           (printed 4/6/01)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  203.  
  204.  
  205.  
  206.           unmanaging a page widget only erases the page and leaves an
  207.           empty page.  It does not tear the page out of the Notebook.
  208.           To remove the tab, the application must explicitly destroy
  209.           or unmanage it.
  210.  
  211.           Notebook supports the _X_m_Q_T_j_o_i_n_S_i_d_e trait. A widget that has
  212.           the _X_m_Q_T_j_o_i_n_S_i_d_e trait can be added to the Notebook as a
  213.           Major or Minor tab and will appear to be attached to its
  214.           associated page with no margins or shadows between them.
  215.  
  216.         SSSSttttaaaattttuuuussss AAAArrrreeeeaaaassss
  217.           A status area is any widget that is used for describing the
  218.           associated page. For example, the Label widget as a status
  219.           area child can hold a simple string or a pixmap that
  220.           describes a page. A status area widget is also attached to a
  221.           page by the page number constraint resource.  Therefore, it
  222.           is possible to have multiple status area widgets for one
  223.           page.  Only the most recently managed status area widget for
  224.           that page can be displayed. All others for that page are not
  225.           unmanaged, but their sizes are used for computing the size
  226.           of the Notebook. If no status area widget is provided, the
  227.           Notebook displays its blank background in the status area's
  228.           reserved space. Notebook does not create any default status
  229.           area widget.
  230.  
  231.         PPPPaaaaggggeeee SSSSccccrrrroooolllllllleeeerrrrssss
  232.           The page scroller of the Notebook is any widget that the
  233.           application creates for scrolling pages. If the application
  234.           does not create one when the Notebook is realized, Notebook
  235.           creates a SpinBox widget as the default page scroller.  If
  236.           the application creates a new page scroller, the default
  237.           page scroller is destroyed. If the application creates
  238.           multiple page scrollers, only the most recently managed one
  239.           can be displayed and used. All others are unmanaged.
  240.  
  241.           The default SpinBox page scroller grays out one of the arrow
  242.           visuals if the current page is a boundary page.  If the
  243.           current page is the first page, the previous arrow of the
  244.           SpinBox is grayed. If the current page is the last page, the
  245.           next arrow of the SpinBox is grayed.
  246.  
  247.         TTTTaaaabbbb SSSSccccrrrroooolllllllleeeerrrrssss
  248.           Tab scrollers are created by the Notebook for scrolling
  249.           major tabs and minor tabs. When Notebook is initialized, it
  250.           creates four ArrowButtonGadgets for scrolling to the next
  251.           major tab, the previous major tab, the next minor tab, and
  252.           the previous minor tab.  The application cannot replace
  253.           these tab scrollers.  The application can change all
  254.           resources of these widgets except the position and the arrow
  255.           direction. Tab scrollers are only visible and enabled when
  256.           there is not enough space to display all the major or minor
  257.           tabs appropriate to the page. Tab scrollers are also grayed
  258.  
  259.  
  260.  
  261.      Page 4                                           (printed 4/6/01)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  269.  
  270.  
  271.  
  272.           out when scrolling is inappropriate. The following lists the
  273.           tab scrollers that are created:
  274.                              CCCChhhhiiiilllldddd WWWWiiiiddddggggeeeettttssss tttthhhhaaaatttt XXXXmmmmNNNNooootttteeeebbbbooooooookkkk CCCCrrrreeeeaaaatttteeeessss
  275.          CCCChhhhiiiilllldddd                         NNNNaaaammmmeeee                       WWWWiiiiddddggggeeeetttt CCCCllllaaaassssssss
  276.          Page Scroller                 PageScroller               XmSpinBox
  277.          Next Major Tab Scroller       MajorTabScrollerNext       XmArrowButtonGadget
  278.          Previous Major Tab Scroller   MajorTabScrollerPrevious   XmArrowButtonGadget
  279.          Next Minor Tab Scroller       MinorTabScrollerNext       XmArrowButtonGadget
  280.          Previous Minor Tab Scroller   MinorTabScrollerPrevious   XmArrowButtonGadget
  281.  
  282.           When the user selects the page scroller, a major tab, or a
  283.           minor tab, the value of XXXXmmmmNNNNccccuuuurrrrrrrreeeennnnttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr is changed to
  284.           the selected page number and XXXXmmmmNNNNppppaaaaggggeeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk is
  285.           invoked. After the application returns from the callback,
  286.           the Notebook displays the last page child whose page number
  287.           is equal to the current page number. It also displays the
  288.           last matched status area child. All other pages and status
  289.           areas are automatically hidden. Major tabs and minor tabs
  290.           that can fit into the Notebook's edges are displayed and
  291.           positioned appropriately. All other tabs are also hidden.
  292.           The application can also cause a page change by calling
  293.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss on XXXXmmmmNNNNccccuuuurrrrrrrreeeennnnttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr and then calling
  294.           XXXXttttCCCCaaaallllllllCCCCaaaallllllllbbbbaaaacccckkkkssss on XXXXmmmmNNNNppppaaaaggggeeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk.
  295.  
  296.         OOOOrrrriiiieeeennnnttttaaaattttiiiioooonnnn
  297.           The Notebook has eight different visual configurations,
  298.           depending on the value of XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeePPPPllllaaaacccceeeemmmmeeeennnntttt and
  299.           XXXXmmmmNNNNoooorrrriiiieeeennnnttttaaaattttiiiioooonnnn. These two resources determine the placement
  300.           of back pages, the binding, major tabs, minor tabs, the
  301.           status area, and the page scroller. The location of the
  302.           binding is determined by XXXXmmmmNNNNoooorrrriiiieeeennnnttttaaaattttiiiioooonnnn.  Major tabs are
  303.           always placed on the back page side opposite to the binding;
  304.           Minor tabs are placed on the back page display area that is
  305.           visually connected to the binding.  Both Major and Minor
  306.           tabs are ordered so that the page numbers they access
  307.           increase as they get closer to the corner where the back
  308.           pages meet.  The status area and the page scroller are
  309.           always located on the bottom of the Notebook, inside the
  310.           frame. The page scroller is always placed adjacent to a back
  311.           page side. The following table shows the possible
  312.           configurations and the locations of each Notebook component
  313.           within the configuration.  The default back page value and
  314.           the default orientation are based upon XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn.
  315.                                     NNNNooootttteeeebbbbooooooookkkk CCCCoooonnnnffffiiiigggguuuurrrraaaattttiiiioooonnnnssss
  316.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeePPPPllllaaaacccceeeemmmmeeeennnntttt   XXXXmmmmNNNNoooorrrriiiieeeennnnttttaaaattttiiiioooonnnn   MMMMaaaajjjjoooorrrr TTTTaaaabbbbssss   SSSSttttaaaattttuuuussss AAAArrrreeeeaaaa     BBBBiiiinnnnddddiiiinnnngggg
  317.                                                   MMMMiiiinnnnoooorrrr TTTTaaaabbbbssss   PPPPaaaaggggeeee SSSSccccrrrroooolllllllleeeerrrr
  318.           XmBOTTOM_RIGHT         XmHORIZONTAL     RIGHT        BOTTOM LEFT     LEFT
  319.                                                   BOTTOM       BOTTOM RIGHT
  320.           XmBOTTOM_RIGHT         XmVERTICAL       BOTTOM       BOTTOM LEFT     TOP
  321.                                                   RIGHT        BOTTOM RIGHT
  322.  
  323.  
  324.  
  325.  
  326.  
  327.      Page 5                                           (printed 4/6/01)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  335.  
  336.  
  337.  
  338.           XmBOTTOM_LEFT          XmHORIZONTAL     LEFT         BOTTOM RIGHT    RIGHT
  339.                                                   BOTTOM       BOTTOM LEFT
  340.           XmBOTTOM_LEFT          XmVERTICAL       BOTTOM       BOTTOM RIGHT    TOP
  341.                                                   LEFT         BOTTOM LEFT
  342.           XmTOP_RIGHT            XmHORIZONTAL     RIGHT        BOTTOM LEFT     LEFT
  343.                                                   TOP          BOTTOM RIGHT
  344.           XmTOP_RIGHT            XmVERTICAL       TOP          BOTTOM LEFT     BOTTOM
  345.                                                   RIGHT        BOTTOM RIGHT
  346.           XmTOP_LEFT             XmHORIZONTAL     LEFT         BOTTOM RIGHT    RIGHT
  347.                                                   TOP          BOTTOM LEFT
  348.           XmTOP_LEFT             XmVERTICAL       TOP          BOTTOM RIGHT    BOTTOM
  349.                                                   LEFT         BOTTOM LEFT
  350.  
  351.           There are three tab groups for tab group traversal inside
  352.           the Notebook: major tabs, minor tabs, and the page scroller.
  353.           The application can also create additional types of tab
  354.           groups within the Notebook; for example, each page added by
  355.           the application is treated as a separate tab group by the
  356.           traversal actions.
  357.  
  358.         CCCCllllaaaasssssssseeeessss
  359.           Notebook inherits behavior, resources, and traits from CCCCoooorrrreeee,
  360.           CCCCoooommmmppppoooossssiiiitttteeee, CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt, and XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr classes.
  361.  
  362.           The class pointer is _x_m_N_o_t_e_b_o_o_k_W_i_d_g_e_t_C_l_a_s_s.
  363.  
  364.           The class name is XXXXmmmmNNNNooootttteeeebbbbooooooookkkk.
  365.  
  366.         NNNNeeeewwww RRRReeeessssoooouuuurrrrcccceeeessss
  367.           The following table defines a set of widget resources used
  368.           by the programmer to specify data. The programmer can also
  369.           set the resource values for the inherited classes to set
  370.           attributes for this widget.  To reference a resource by name
  371.           or by class in a ....XXXXddddeeeeffffaaaauuuullllttttssss file, remove the XXXXmmmmNNNN or XXXXmmmmCCCC
  372.           prefix and use the remaining letters.  To specify one of the
  373.           defined values for a resource in a ....XXXXddddeeeeffffaaaauuuullllttttssssfile, remove
  374.           the XXXXmmmm prefix and use the remaining letters (in either
  375.           lowercase or uppercase, but include any underscores between
  376.           words). The codes in the access column indicate if the given
  377.           resource can be set at creation time (C), set by using
  378.           XXXXttttSSSSeeeettttVVVVaaaalllluuuueeeessss(S), retrieved by using XXXXttttGGGGeeeettttVVVVaaaalllluuuueeeessss (G), or is
  379.           not applicable (N/A).
  380.  
  381.                                               XXXXmmmmNNNNooootttteeeebbbbooooooookkkk RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  382.           NNNNaaaammmmeeee                      CCCCllllaaaassssssss                   TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  383.           XmNbackPageBackground     XmCBackPageBackground   Pixel            dynamic                CSG
  384.           XmNbackPageForeground     XmCBackPageForeground   Pixel            dynamic                CSG
  385.           XmNbackPageNumber         XmCBackPageNumber       Cardinal         2                      CSG
  386.           XmNbackPagePlacement      XmCBackPagePlacement    unsigned char    dynamic                CSG
  387.           XmNbackPageSize           XmCBackPageSize         Dimension        8                      CSG
  388.  
  389.  
  390.  
  391.  
  392.  
  393.      Page 6                                           (printed 4/6/01)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  401.  
  402.  
  403.  
  404.           XmNbindingPixmap          XmCBindingPixmap        Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  405.           XmNbindingType            XmCBindingType          unsigned char    XmSPIRAL               CSG
  406.           XmNbindingWidth           XmCBindingWidth         Dimension        25                     CSG
  407.           XmNcurrentPageNumber      XmCCurrentPageNumber    int              dynamic                CSG
  408.           XmNfirstPageNumber        XmCFirstPageNumber      int              1                      CSG
  409.           XmNframeBackground        XmCFrameBackground      Pixel            dynamic                CSG
  410.           XmNframeShadowThickness   XmCShadowThickness      Dimension        0                      CSG
  411.           XmNinnerMarginHeight      XmCInnerMarginHeight    Dimension        0                      CSG
  412.           XmNinnerMarginWidth       XmCInnerMarginWidth     Dimension        0                      CSG
  413.           XmNlastPageNumber         XmCLastPageNumber       int              dynamic                CSG
  414.           XmNminorTabSpacing        XmCMinorTabSpacing      Dimension        3                      CSG
  415.           XmNmajorTabSpacing        XmCMajorTabSpacing      Dimension        3                      CSG
  416.           XmNorientation            XmCOrientation          unsigned char    XmHORIZONTAL           CSG
  417.           XmNpageChangedCallback    XmCCallback             XtCallbackList   NULL                   C
  418.  
  419.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeeBBBBaaaacccckkkkggggrrrroooouuuunnnndddd
  420.                     Specifies the background color for drawing back
  421.                     pages.  The default is a lower-intensity version
  422.                     of XXXXmmmmNNNNffffrrrraaaammmmeeeeBBBBaaaacccckkkkggggrrrroooouuuunnnndddd.
  423.  
  424.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeeFFFFoooorrrreeeeggggrrrroooouuuunnnndddd
  425.                     Specifies the forground color for drawing back
  426.                     pages. The default is taken from the application's
  427.                     default foreground color.
  428.  
  429.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  430.                     Specifies the number of lines to draw for back
  431.                     pages. The minimum value is 1, and the maximum
  432.                     value is (XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeeSSSSiiiizzzzeeee / 2).
  433.  
  434.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeePPPPllllaaaacccceeeemmmmeeeennnntttt
  435.                     Specifies where to place the back pages.  The
  436.                     default is dependent on the XXXXmmmmNNNNllllaaaayyyyoooouuuuttttDDDDiiiirrrreeeeccccttttiiiioooonnnn
  437.                     resource of the Notebook's instance parents.  It
  438.                     can have one of the following values:
  439.  
  440.                     XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____RRRRIIIIGGGGHHHHTTTT
  441.                               Displays back pages on the Notebook's
  442.                               bottom and right sides.
  443.  
  444.                     XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____LLLLEEEEFFFFTTTT
  445.                               Displays back pages on the Notebook's
  446.                               bottom and left sides.
  447.  
  448.                     XXXXmmmmTTTTOOOOPPPP____RRRRIIIIGGGGHHHHTTTT
  449.                               Displays back pages on the Notebook's
  450.                               top and right sides.
  451.  
  452.                     XXXXmmmmTTTTOOOOPPPP____LLLLEEEEFFFFTTTT
  453.                               Displays back pages on the Notebook's
  454.                               top and left sides.
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                                           (printed 4/6/01)
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  467.  
  468.  
  469.  
  470.           XXXXmmmmNNNNbbbbaaaacccckkkkPPPPaaaaggggeeeeSSSSiiiizzzzeeee
  471.                     Specifies the thickness of the back page
  472.                     rendering.
  473.  
  474.           XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggPPPPiiiixxxxmmmmaaaapppp
  475.                     Specifies the pixmap or bitmap for stippling or
  476.                     tiling the binding when XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggTTTTyyyyppppeeee is XXXXmmmmPPPPIIIIXXXXMMMMAAAAPPPP
  477.                     or XXXXmmmmPPPPIIIIXXXXMMMMAAAAPPPP____OOOOVVVVEEEERRRRLLLLAAAAPPPP____OOOONNNNLLLLYYYY.
  478.  
  479.           XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggTTTTyyyyppppeeee
  480.                     Specifies the binding type. It can have one of the
  481.                     following values:
  482.  
  483.                     XXXXmmmmNNNNOOOONNNNEEEE    Displays no binding.
  484.  
  485.                     XXXXmmmmSSSSOOOOLLLLIIIIDDDD   Displays a solid binding in the
  486.                               foreground color of the Notebook within
  487.                               the binding area specified by
  488.                               XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh.
  489.  
  490.                     XXXXmmmmSSSSPPPPIIIIRRRRAAAALLLL  Displays a spiral binding in the
  491.                               foreground color of the Notebook within
  492.                               the area specified by XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhhand
  493.                               within the area outside of the frame
  494.                               equal to the area specified by
  495.                               XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh.
  496.  
  497.                     XXXXmmmmPPPPIIIIXXXXMMMMAAAAPPPP  Displays the binding with the pixmap or
  498.                               bitmap specified by XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggPPPPiiiixxxxmmmmaaaapppp as
  499.                               a stipple or tile. It uses the
  500.                               foreground color of the Notebook for
  501.                               stippling. The binding width is decided
  502.                               by the larger value of XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh
  503.                               and the width of the pixmap or bitmap.
  504.  
  505.                     XXXXmmmmPPPPIIIIXXXXMMMMAAAAPPPP____OOOOVVVVEEEERRRRLLLLAAAAPPPP____OOOONNNNLLLLYYYY
  506.                               Displays the binding with the pixmap or
  507.                               bitmap specified by XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggPPPPiiiixxxxmmmmaaaapppp as
  508.                               a stipple or tile. It uses the
  509.                               foreground color of the Notebook for
  510.                               stippling. The binding is displayed only
  511.                               within the binding area specified by
  512.                               XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh.
  513.  
  514.           XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh
  515.                     Specifies the width of the Notebook binding. If
  516.                     XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggTTTTyyyyppppeeee is XXXXmmmmPPPPIIIIXXXXMMMMAAAAPPPP and the width of the
  517.                     pixmap specified in XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggPPPPiiiixxxxmmmmaaaapppp is greater
  518.                     than XXXXmmmmNNNNbbbbiiiinnnnddddiiiinnnnggggWWWWiiiiddddtttthhhh, then this resource is
  519.                     ignored and the width of the pixmap is used as the
  520.                     width of the Notebook binding instead.
  521.  
  522.  
  523.  
  524.  
  525.      Page 8                                           (printed 4/6/01)
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  533.  
  534.  
  535.  
  536.           XXXXmmmmNNNNccccuuuurrrrrrrreeeennnnttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  537.                     Specifies the page number of the currently
  538.                     displayed page. Initially, it is set to
  539.                     XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr. If it is set to less than
  540.                     XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr, then it is set to
  541.                     XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr.  If it is set to
  542.                     XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr, then it is set to
  543.                     XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr.
  544.  
  545.           XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  546.                     Specifies the page number for the first page of
  547.                     the Notebook.  The Notebook does not scroll to any
  548.                     page numbers below this value.
  549.  
  550.           XXXXmmmmNNNNffffrrrraaaammmmeeeeBBBBaaaacccckkkkggggrrrroooouuuunnnndddd
  551.                     Specifies the background color for drawing the
  552.                     Notebook's frame.
  553.  
  554.           XXXXmmmmNNNNffffrrrraaaammmmeeeeSSSShhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss
  555.                     Specifies the shadow thickness around the
  556.                     Notebook's frame.
  557.  
  558.           XXXXmmmmNNNNiiiinnnnnnnneeeerrrrMMMMaaaarrrrggggiiiinnnnHHHHeeeeiiiigggghhhhtttt
  559.                     Specifies the margin on the top and bottom sides
  560.                     of the page, status area, and page scroller
  561.                     widgets.
  562.  
  563.           XXXXmmmmNNNNiiiinnnnnnnneeeerrrrMMMMaaaarrrrggggiiiinnnnWWWWiiiiddddtttthhhh
  564.                     Specifies the margin on the left and right sides
  565.                     of the page, status area, and page scroller
  566.                     widgets.
  567.  
  568.           XXXXmmmmNNNNllllaaaassssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  569.                     Specifies the page number for the last page of the
  570.                     Notebook.  The Notebook does not scroll to any
  571.                     page numbers above this value.  The default page
  572.                     number is the largest page number of managed page,
  573.                     major tab, or minor tab widgets.  If this is set
  574.                     to a value that is less than XXXXmmmmNNNNffffiiiirrrrssssttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr,
  575.                     the behavior of the Notebook is undefined.
  576.  
  577.           XXXXmmmmNNNNmmmmaaaajjjjoooorrrrTTTTaaaabbbbSSSSppppaaaacccciiiinnnngggg
  578.                     Specifies the spacing distance between major tabs.
  579.                     If XXXXmmmmNNNNffffrrrraaaammmmeeeeSSSShhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is greater than
  580.                     XXXXmmmmNNNNmmmmaaaajjjjoooorrrrTTTTaaaabbbbSSSSppppaaaacccciiiinnnngggg, then this resource is ignored
  581.                     and the size of XXXXmmmmNNNNffffrrrraaaammmmeeeeSSSShhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is used as
  582.                     the spacing distance between major tabs.
  583.  
  584.           XXXXmmmmNNNNmmmmiiiinnnnoooorrrrTTTTaaaabbbbSSSSppppaaaacccciiiinnnngggg
  585.                     Specifies the spacing distance between minor tabs.
  586.                     If XXXXmmmmNNNNffffrrrraaaammmmeeeeSSSShhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is greater than
  587.                     XXXXmmmmNNNNmmmmiiiinnnnoooorrrrTTTTaaaabbbbSSSSppppaaaacccciiiinnnngggg, then this resource is ignored
  588.  
  589.  
  590.  
  591.      Page 9                                           (printed 4/6/01)
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  599.  
  600.  
  601.  
  602.                     and the size of XXXXmmmmNNNNffffrrrraaaammmmeeeeSSSShhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is used as
  603.                     the spacing distance between minor tabs.
  604.  
  605.           XXXXmmmmNNNNoooorrrriiiieeeennnnttttaaaattttiiiioooonnnn
  606.                     Specifies the orientation of the Notebook. It can
  607.                     have one of the following values:
  608.  
  609.                     XXXXmmmmHHHHOOOORRRRIIIIZZZZOOOONNNNTTTTAAAALLLL
  610.                               Places the binding beside the pages, in
  611.                               the left or right side of the frame.
  612.  
  613.                     XXXXmmmmVVVVEEEERRRRTTTTIIIICCCCAAAALLLL
  614.                               Places the binding above or below the
  615.                               pages, in the top or the bottom of the
  616.                               frame.
  617.  
  618.           XXXXmmmmNNNNppppaaaaggggeeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk
  619.                     Specifies the list of callbacks to call whenever
  620.                     the XXXXmmmmNNNNccccuuuurrrrrrrreeeennnnttttPPPPaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr, representing the current
  621.                     page number, is changed. This includes the point
  622.                     when the widget is realized and the page number is
  623.                     initialized.  The callback structure is
  624.                     XXXXmmmmNNNNooootttteeeebbbbooooooookkkkCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt.  The reason is
  625.                     XXXXmmmmCCCCRRRR____MMMMAAAAJJJJOOOORRRR____TTTTAAAABBBB, XXXXmmmmCCCCRRRR____MMMMIIIINNNNOOOORRRR____TTTTAAAABBBB,
  626.                     XXXXmmmmCCCCRRRR____PPPPAAAAGGGGEEEE____SSSSCCCCRRRROOOOLLLLLLLLEEEERRRR____IIIINNNNCCCCRRRREEEEMMMMEEEENNNNTTTT,
  627.                     XXXXmmmmCCCCRRRR____PPPPAAAAGGGGEEEE____SSSSCCCCRRRROOOOLLLLLLLLEEEERRRR____DDDDEEEECCCCRRRREEEEMMMMEEEENNNNTTTT, or XXXXmmmmCCCCRRRR____NNNNOOOONNNNEEEE,
  628.                     depending upon what action caused the Notebook to
  629.                     display a new page.
  630.  
  631.                                 XXXXmmmmNNNNooootttteeeebbbbooooooookkkk CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  632.           NNNNaaaammmmeeee                   CCCCllllaaaassssssss                  TTTTyyyyppppeeee            DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  633.           XmNnotebookChildType   XmCNotebookChildType   unsigned char   dynamic   CG
  634.           XmNpageNumber          XmCPageNumber          int             dynamic   CSG
  635.           XmNresizable           XmCResizable           Boolean         True      CSG
  636.  
  637.           XXXXmmmmNNNNnnnnooootttteeeebbbbooooooookkkkCCCChhhhiiiillllddddTTTTyyyyppppeeee
  638.                     Specifies the child type of the Notebook. It can
  639.                     be one of the following types:
  640.  
  641.                     XXXXmmmmPPPPAAAAGGGGEEEE    The child is a page of the Notebook.
  642.                               This is the default when the child does
  643.                               not have the _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e,
  644.                               _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l, or _X_m_Q_T_n_a_v_i_g_a_t_o_r
  645.                               trait.
  646.  
  647.                     XXXXmmmmMMMMAAAAJJJJOOOORRRR____TTTTAAAABBBB
  648.                               The child is a major tab. This is the
  649.                               default when the child has the
  650.                               _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e trait.
  651.  
  652.                     XXXXmmmmMMMMIIIINNNNOOOORRRR____TTTTAAAABBBB
  653.                               The child is a minor tab.
  654.  
  655.  
  656.  
  657.      Page 10                                          (printed 4/6/01)
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  665.  
  666.  
  667.  
  668.                     XXXXmmmmSSSSTTTTAAAATTTTUUUUSSSS____AAAARRRREEEEAAAA
  669.                               The child is a status area. This is the
  670.                               default when the child has the
  671.                               _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l trait and does not
  672.                               have the _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e trait.
  673.  
  674.                     XXXXmmmmPPPPAAAAGGGGEEEE____SSSSCCCCRRRROOOOLLLLLLLLEEEERRRR
  675.                               The child is the page scroller. The
  676.                               default page scroller is destroyed, if
  677.                               it exists. Any previously created page
  678.                               scrollers are unmanaged. This is the
  679.                               default when the child has the
  680.                               _X_m_Q_T_n_a_v_i_g_a_t_o_r trait and does have the
  681.                               _X_m_Q_T_a_c_t_i_v_a_t_a_b_l_e trait or the
  682.                               _X_m_Q_T_a_c_c_e_s_s_T_e_x_t_u_a_l trait.
  683.  
  684.           XXXXmmmmNNNNppppaaaaggggeeeeNNNNuuuummmmbbbbeeeerrrr
  685.                     Specifies the page number associated with the
  686.                     widget.  If the widget is a page, the number
  687.                     specifies the page number of the widget.  If the
  688.                     widget is not a page, the number specifies the
  689.                     page number of the associated page. If none is
  690.                     supplied by the application, Notebook generates
  691.                     the smallest unallocated page number when the
  692.                     child is managed.  This resource is ignored for
  693.                     the page scroller.
  694.  
  695.           XXXXmmmmNNNNrrrreeeessssiiiizzzzaaaabbbblllleeee
  696.                     Specifies whether this child can request a resize.
  697.  
  698.         IIIInnnnhhhheeeerrrriiiitttteeeedddd RRRReeeessssoooouuuurrrrcccceeeessss
  699.           Notebook inherits behavior and resources from the
  700.           superclasses described in the following tables.  For a
  701.           complete description of each resource, refer to the
  702.           reference page for that superclass.
  703.                                                 XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  704.           NNNNaaaammmmeeee                      CCCCllllaaaassssssss                   TTTTyyyyppppeeee                DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  705.           XmNbottomShadowColor      XmCBottomShadowColor    Pixel               dynamic                CSG
  706.           XmNbottomShadowPixmap     XmCBottomShadowPixmap   Pixmap              XmUNSPECIFIED_PIXMAP   CSG
  707.           XmNforeground             XmCForeground           Pixel               dynamic                CSG
  708.           XmNhelpCallback           XmCCallback             XtCallbackList      NULL                   C
  709.           XmNhighlightColor         XmCHighlightColor       Pixel               dynamic                CSG
  710.           XmNhighlightPixmap        XmCHighlightPixmap      Pixmap              dynamic                CSG
  711.           XmNinitialFocus           XmCInitialFocus         Widget              NULL                   CSG
  712.           XmNlayoutDirection        XmCLayoutDirection      XmDirection         dynamic                CG
  713.           XmNnavigationType         XmCNavigationType       XmNavigationType    XmTAB_GROUP            CSG
  714.           XmNpopupHandlerCallback   XmCCallback             XtCallbackList      NULL                   C
  715.           XmNshadowThickness        XmCShadowThickness      Dimension           0                      CSG
  716.           XmNstringDirection        XmCStringDirection      XmStringDirection   dynamic                CG
  717.           XmNtopShadowColor         XmCTopShadowColor       Pixel               dynamic                CSG
  718.  
  719.  
  720.  
  721.  
  722.  
  723.      Page 11                                          (printed 4/6/01)
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  731.  
  732.  
  733.  
  734.           XmNtopShadowPixmap        XmCTopShadowPixmap      Pixmap              dynamic                CSG
  735.           XmNtraversalOn            XmCTraversalOn          Boolean             True                   CSG
  736.           XmNunitType               XmCUnitType             unsigned char       dynamic                CSG
  737.           XmNuserData               XmCUserData             XtPointer           NULL                   CSG
  738.  
  739.                                   CCCCoooommmmppppoooossssiiiitttteeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  740.           NNNNaaaammmmeeee                CCCCllllaaaassssssss               TTTTyyyyppppeeee          DDDDeeeeffffaaaauuuulllltttt   AAAAcccccccceeeessssssss
  741.           XmNchildren         XmCReadOnly         WidgetList    NULL      G
  742.           XmNinsertPosition   XmCInsertPosition   XtOrderProc   NULL      CSG
  743.           XmNnumChildren      XmCReadOnly         Cardinal      0         G
  744.  
  745.                                                         CCCCoooorrrreeee RRRReeeessssoooouuuurrrrcccceeee SSSSeeeetttt
  746.           NNNNaaaammmmeeee                            CCCCllllaaaassssssss                           TTTTyyyyppppeeee             DDDDeeeeffffaaaauuuulllltttt                AAAAcccccccceeeessssssss
  747.           XmNaccelerators                 XmCAccelerators                 XtAccelerators   dynamic                CSG
  748.           XmNancestorSensitive            XmCSensitive                    Boolean          dynamic                G
  749.           XmNbackground                   XmCBackground                   Pixel            dynamic                CSG
  750.           XmNbackgroundPixmap             XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  751.           XmNborderColor                  XmCBorderColor                  Pixel            XtDefaultForeground    CSG
  752.           XmNborderPixmap                 XmCPixmap                       Pixmap           XmUNSPECIFIED_PIXMAP   CSG
  753.           XmNborderWidth                  XmCBorderWidth                  Dimension        0                      CSG
  754.           XmNcolormap                     XmCColormap                     Colormap         dynamic                CG
  755.           XmNdepth                        XmCDepth                        int              dynamic                CG
  756.           XmNdestroyCallback              XmCCallback                     XtCallbackList   NULL                   C
  757.           XmNheight                       XmCHeight                       Dimension        dynamic                CSG
  758.           XmNinitialResourcesPersistent   XmCInitialResourcesPersistent   Boolean          True                   C
  759.           XmNmappedWhenManaged            XmCMappedWhenManaged            Boolean          True                   CSG
  760.           XmNscreen                       XmCScreen                       Screen *         dynamic                CG
  761.           XmNsensitive                    XmCSensitive                    Boolean          True                   CSG
  762.           XmNtranslations                 XmCTranslations                 XtTranslations   dynamic                CSG
  763.           XmNwidth                        XmCWidth                        Dimension        dynamic                CSG
  764.           XmNx                            XmCPosition                     Position         0                      CSG
  765.           XmNy                            XmCPosition                     Position         0                      CSG
  766.  
  767.         CCCCaaaallllllllbbbbaaaacccckkkk
  768.           A pointer to the following structure is passed to callbacks
  769.           for XXXXmmmmNNNNppppaaaaggggeeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk.
  770.  
  771.           typedef struct
  772.           {
  773.                   int _r_e_a_s_o_n;
  774.                   XEvent *_e_v_e_n_t;
  775.                   int _p_a_g_e__n_u_m_b_e_r;
  776.                   Widget _p_a_g_e__w_i_d_g_e_t;
  777.                   int _p_r_e_v__p_a_g_e__n_u_m_b_e_r;
  778.                   Widget _p_r_e_v__p_a_g_e__w_i_d_g_e_t;
  779.           } XmNotebookCallbackStruct;
  780.  
  781.           _r_e_a_s_o_n    Specifies the reason for the callback.
  782.  
  783.           _e_v_e_n_t     Points to the _X_E_v_e_n_t that triggered the callback.
  784.                     It can be NULL.
  785.  
  786.  
  787.  
  788.  
  789.      Page 12                                          (printed 4/6/01)
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  797.  
  798.  
  799.  
  800.           _p_a_g_e__n_u_m_b_e_r
  801.                     Indicates the page number to be displayed.
  802.  
  803.           _p_a_g_e__w_i_d_g_e_t
  804.                     Indicates the page widget that has the new page
  805.                     number.  It is NULL if no page widget with the
  806.                     page number is found.
  807.  
  808.           _p_r_e_v__p_a_g_e__n_u_m_b_e_r
  809.                     Indicates the page number of the currently
  810.                     displayed page. If the callback procedure is being
  811.                     called at widget initialization, this page number
  812.                     will be returned as XXXXmmmmUUUUNNNNSSSSPPPPEEEECCCCIIIIFFFFIIIIEEEEDDDD____PPPPAAAAGGGGEEEE____NNNNUUUUMMMMBBBBEEEERRRR.
  813.  
  814.           _p_r_e_v__p_a_g_e__w_i_d_g_e_t
  815.                     Indicates the currently displayed page widget. If
  816.                     the callback procedure is being called at widget
  817.                     initialization, NULL will be returned.
  818.  
  819.         TTTTrrrraaaannnnssssllllaaaattttiiiioooonnnnssss
  820.           Notebook inherits translations from Manager.
  821.  
  822.         AAAAcccccccceeeelllleeeerrrraaaattttoooorrrrssss
  823.           Notebook accelerators are added to all major tab and minor
  824.           tab children of XmNotebook.  Notebook accelerators are
  825.           listed below.  These accelerators might not directly
  826.           correspond to a translation table.
  827.  
  828.           <<<<oooossssffffBBBBeeeeggggiiiinnnnLLLLiiiinnnneeee>>>>::::
  829.                     TraverseTab(_H_o_m_e)
  830.  
  831.           <<<<oooossssffffEEEEnnnnddddLLLLiiiinnnneeee>>>>::::
  832.                     TraverseTab(_E_n_d)
  833.  
  834.           <<<<oooossssffffLLLLeeeefffftttt>>>>::::
  835.                     TraverseTab(_P_r_e_v_i_o_u_s)
  836.  
  837.           <<<<oooossssffffRRRRiiiigggghhhhtttt>>>>::::
  838.                     TraverseTab(_N_e_x_t)
  839.  
  840.           <<<<oooossssffffUUUUpppp>>>>::::  TraverseTab(_P_r_e_v_i_o_u_s)
  841.  
  842.           <<<<oooossssffffDDDDoooowwwwnnnn>>>>::::
  843.                     TraverseTab(_N_e_x_t)
  844.  
  845.         AAAAccccttttiiiioooonnnn RRRRoooouuuuttttiiiinnnneeeessss
  846.           Notebook action routines are described below:
  847.  
  848.           TraverseTab(_H_o_m_e|_E_n_d|_N_e_x_t|_P_r_e_v_i_o_u_s)
  849.                     Moves the focus on major or minor tabs.
  850.  
  851.         AAAAddddddddiiiittttiiiioooonnnnaaaallll BBBBeeeehhhhaaaavvvviiiioooorrrr
  852.  
  853.  
  854.  
  855.      PPPPaaaaggggeeee 11113333                                          ((((pppprrrriiiinnnntttteeeedddd 4444////6666////00001111))))
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.      XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))            UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV            XXXXmmmmNNNNooootttteeeebbbbooooooookkkk((((3333XXXX))))
  863.  
  864.  
  865.  
  866.           The Notebook widget has the additional behavior described
  867.           below:
  868.  
  869.           <<<<TTTTaaaabbbb>>>>     Notebook intercepts tab group traversal when
  870.                     traversal is entering or leaving major or minor
  871.                     tabs. It does this to support major tabs and minor
  872.                     tabs as two separate tab groups when they are
  873.                     actually treated as one by traversal. If a minor
  874.                     tab has keyboard focus and a user or program
  875.                     action specifies XXXXmmmmTTTTRRRRAAAAVVVVEEEERRRRSSSSEEEE____PPPPRRRREEEEVVVV____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP,
  876.                     keyboard focus will go to a major tab. If a major
  877.                     tab has keyboard focus and a user or program
  878.                     action specifies XXXXmmmmTTTTRRRRAAAAVVVVEEEERRRRSSSSEEEE____NNNNEEEEXXXXTTTT____TTTTAAAABBBB____GGGGRRRROOOOUUUUPPPP,
  879.                     keyboard focus will go to a minor tab.
  880.  
  881.         VVVViiiirrrrttttuuuuaaaallll BBBBiiiinnnnddddiiiinnnnggggssss
  882.           The bindings for virtual keys are vendor specific.  For
  883.           information about bindings for virtual buttons and keys, see
  884.           VVVViiiirrrrttttuuuuaaaallllBBBBiiiinnnnddddiiiinnnnggggssss(3).
  885.  
  886.      RRRREEEELLLLAAAATTTTEEEEDDDD
  887.           CCCCoooommmmppppoooossssiiiitttteeee(3), CCCCoooonnnnssssttttrrrraaaaiiiinnnntttt(3), CCCCoooorrrreeee(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeNNNNooootttteeeebbbbooooooookkkk(3),
  888.           XXXXmmmmMMMMaaaannnnaaaaggggeeeerrrr(3), and XXXXmmmmNNNNooootttteeeebbbbooooooookkkkGGGGeeeettttPPPPaaaaggggeeeeIIIInnnnffffoooo(3).
  889.  
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896.  
  897.  
  898.  
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.      Page 14                                          (printed 4/6/01)
  922.  
  923.  
  924.  
  925.